const menuData = [
	{id:'total',name:'概览',path:'/index',show:true,icon:"home"},
	{
		id:'account',name:'用户管理',path:'',show:true,icon:"user",
		children:[
			{id:'accountList',name:'用户列表',path:'/account/list',show:true},
		],
	},
	{
		id:'device',name:'设备管理',path:'',show:true,icon:"device",
		children:[
			{id:'deviceList',name:'设备列表',path:'/device/list',show:true},
			{id:'deviceTemp',name:'设备模板',path:'/device/mould',show:true},
			{id:'deviceProduct',name:'产品库',path:'/device/product',show:true},
		],
	},
	{
		id:'net',name:'网关管理',path:'',show:true,icon:"gateway",
		children:[
			{id:'netList',name:'网关列表',path:'/gateway/list',show:true},
			{id:'netMould',name:'网关型号',path:'/gateway/mould',show:true},
		],
	},
	{
		id:'live',name:'监控管理',path:'',show:true,icon:"live",
		children:[
			{id:'liveList',name:'监控列表',path:'/live/list',show:true},
			{id:'livePlatform',name:'监控配置',path:'/live/platform',show:true},
		],
	},
	{
		id:'deviceData',name:'数据中心',path:'',show:true,icon:"data",
		children:[
			{id:'deviceDataTotal',name:'数据统计',path:'/statistics/index',show:true},
			{id:'deviceDataHistory',name:'历史记录',path:'/statistics/history',show:true},
			{id:'deviceDataAlarm',name:'变量报警记录',path:'/statistics/dataAlarmRecord',show:true},
			{id:'deviceDataLine',name:'设备上下线',path:'/statistics/deviceOnlineRecord',show:true},
			{id:'deviceDatalinkRecord',name:'联动记录',path:'/statistics/linkRecord',show:true},
			// {id:'gatewayDataAlarm',name:'网关报警记录',path:'/statistics/gatewayAlarmRecord',show:true},
			{id:'gatewayDataLine',name:'网关上下线',path:'/statistics/gatewayOnlineRecord',show:true},
		],
	},
	{
		id:'alarm',name:'报警联动',path:'',show:true,icon:"alarm",
		children:[
			{id:'alarmTempTrigger',name:'模板触发器',path:'/alarm/mouldTrigger',show:true},
			{id:'alarmAloneTrigger',name:'独立触发器',path:'/alarm/independenceTrigger',show:true},
			{id:'alarmSet',name:'报警配置',path:'/alarm/alarmSet',show:true},
			{id:'alarmUser',name:'报警联系人',path:'/alarm/contacts',show:true},
		],
	},
]

export default menuData